package com.lu.factory;

import com.lu.bean.User;
import com.lu.bean.impl.UserImpl;

public class UserFactory2 {
    public User getUser(){
        System.out.println("实例工厂实现了");
        return new UserImpl("李四",18);
    }
}
